package com.detrum.detrumdata.newd;

/**
 * Created by abc on 2017/9/12.
 */

public class DProtocolType {
    //for Android Mobile
    public static final int D_FRAME_ANDROID_ACCESSORY_ATTACHED = 0xF0;
    public static final int D_FRAME_ANDROID_START_VIDEO_TRANS = 0xF1;
    public static final int D_FRAME_ANDROID_STOP_VIDEO_TRANS =0xF2;

    public static final int max_packet_length = 8 * 1024 ;

    public static final int D_FRAME_DEVICE_TYPE_VERSION_REPORT = 3;  //10位后面是两个字符串  每个\0结尾
    public static final int D_FRAME_DEVICE_BATTERY_PERCENT = 4;      //10位后面是1个字节，   百分比
    public static final int D_FRAME_IWS_CHANNEL_REPORT = 0x25;       //10位后面是1个字节     通道编码
    public static final int D_FRAME_IWS_CHANNEL_SET = 0x26;          //拼接
}
